<script type="text/javascript">
    function _afterComplete(){
        jump(TP_ADMIN+'/Role');
    }
</script>
<div class="row-fluid">
    <div class="span12">

        <div class="box " style="margin-top:none;">
            <div class="box-header well" data-original-title="">
                <h2><i class="icon-edit"></i> {$Think.lang.common_edit} {$pagetitle}</h2>
            </div>
            <div class="box-content">
                <form class="form-horizontal" action="__ADMIN__/Role/update" method="post" id="baseForm">
                    <fieldset>
                        <input type="hidden" name="id" value="{$row.id}" />
                        <div class="control-group">
                            <label class="control-label" for="name">{:L('common_group')}</label>
                            <div class="controls">
                                <input class="input-xlarge focused" id="title" type="text" name="name" value="{$row.name}">
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">{:L('common_status')}</label>
                            <div class="controls">
                                <label class="radio inline">
                                    <input type="radio" <if condition="$row.status eq 1">checked</if>  value="1" id="optionsRadios2" name="status">
                                    {$Think.lang.common_on}
                                </label>
                                <label class="radio inline">
                                    <input type="radio" <if condition="$row.status eq 0">checked</if> value="0" id="optionsRadios1" name="status">
                                    {$Think.lang.common_off}
                                </label>
                                
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label" for="remark">{:L('common_remark')}</label>
                            <div class="controls">
                                <input class="input-xlarge focused" id="remark" type="text" name="remark" value="{$row.remark}">
                            </div>
                        </div>
                        <include file="Public:action"/>
                    </fieldset>
                </form>

            </div>
        </div>
    </div>
</div>